package com.t213.pet.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.t213.pet.entity.Petype;
import com.t213.pet.mapper.PetypeMapper;
import com.t213.pet.service.IPetypeService;
@Service("petypeService")
public class PetypeServiceImpl implements IPetypeService {
	private PetypeMapper petypeMapper;
	
	@Autowired
	public void setPetypeMapper(PetypeMapper petypeMapper) {
		this.petypeMapper = petypeMapper;
	}

	public List<Petype> findPetype(Petype petype) {
		
		return petypeMapper.find(petype);
	}
	
}
